package com.ruoyi.course.domain.vo;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * @author Bandit
 * @createTime 2022/11/06 15:56:19
 */
public class ChapterVo extends TreeEntity {

    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 课程id */
    @Excel(name = "课程id")
    private Long courseId;

    /** 章节标题 */
    @Excel(name = "章节标题")
    private String title;

    /** 文本内容id */
    @Excel(name = "文本内容id")
    private Long contentId;

    /**
     * 视频URL
     */
    private String videoUrl;

    /**
     * 文本内容
     */
    private String content;

    /** 删除标志 */
    @Excel(name = "删除标志")
    private Integer deleteFlag;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Long getContentId() {
        return contentId;
    }

    public void setContentId(Long contentId) {
        this.contentId = contentId;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "ChapterVo{" +
                "id=" + id +
                ", courseId=" + courseId +
                ", title='" + title + '\'' +
                ", contentId=" + contentId +
                ", content='" + content + '\'' +
                ", deleteFlag=" + deleteFlag +
                '}';
    }
}
